package club.calong.sanniu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("permission")
public class Permission {
	public static final String ID = "permission_id";
	public static final String NAME = "permission_name";
	public static final String DESC = "permission_desc";

	@TableId(value = ID, type = IdType.AUTO)
	private Integer id;

	@TableField(NAME)
	private String name;

	@TableField(DESC)
	private String introduction;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
}
